package com.sun.huazhi.userservice.config;


/**
 * Spring Security配置
 */
//@EnableWebSecurity
public class SecurityConfig{ //extends WebSecurityConfigurerAdapter
//    @Override
//    protected void configure(HttpSecurity http) throws Exception {
//        http.csrf().disable()
//                .authorizeRequests()
//                .antMatchers("/auth/**").permitAll()
//                .anyRequest().authenticated()
//                .and()
//                .addFilterBefore(jwtFilter(), UsernamePasswordAuthenticationFilter.class);
//    }
//
//    @Bean
//    public JwtAuthenticationFilter jwtFilter() {
//        return new JwtAuthenticationFilter();
//    }
}